package org.micro.test.entity.back;

import com.baomidou.mybatisplus.annotations.TableName;
import lombok.*;
import org.micro.test.entity.back.common.SuperEntity;

/**
 * 角色权限表
 *
 * @author lry
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "role_permission")
public class RolePermission extends SuperEntity<RolePermission> {

    /**
     * 角色ID
     */
    private Long rid;

    /**
     * 权限ID
     */
    private Long pid;

}
